* lisp/progmodes/ruby-mode.el (ruby-mode-map): Add binding for
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Oct 2013 03:50:06 +0000 (07:50 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Oct 2013 03:50:06 +0000 (07:50 +0400)
commit182040e28c3610f4ad7984f234e1af64efd6c6eb
tree46bc292bf26c511a47332269301b7bfc963cd5de
parent67d96b8541251ceaf3f5467c7dfff7b4b02ef971
* lisp/progmodes/ruby-mode.el (ruby-mode-map): Add binding for
`smie-down-list'.
(ruby-smie--args-separator-p): Check that there's no newline
between method call and its arguments.
(ruby-smie-rules): Handle new cases: curly block with and without
parameters, hash surrounded with parens, block passed to
paren-less method call.

* test/indent/ruby.rb: New examples for indentation of blocks.  Example
of hash inside parens that inflooped before this commit.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/indent/ruby.rb